package com.smart.sentinel.consumer.service.impl;

import com.smart.sentinel.consumer.service.ExampleService;
import com.smart.sentinel.consumer.service.feign.ProviderFeignService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ExampleServiceImpl implements ExampleService {
    @Resource
    ProviderFeignService feignService;

    @Override
    public String test() {
        return feignService.provider();
    }
}
